#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2021/6/15 
# @Author  : Mik

import requests

s = requests.Session()
data = {'username': 'wintest255', 'password': '123456'}
h = {'Content-Type: application/x-www-form-urlencoded'}
r = s.post('http://127.0.0.1:9999/login',data=data)
print(r.text)
print(r.cookies)
